package org.jeecg.modules.demo.dz.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 收藏列表
 * @Author: jack
 * @Date:   2024-11-24
 * @Version: V1.0
 */
@Data
@TableName("dz_favorite")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dz_favorite对象", description="收藏列表")
public class DzFavorite implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**type*/
	@Excel(name = "type", width = 15)
    @ApiModelProperty(value = "type")
    private String type;
	/**产品型号*/
	@Excel(name = "产品型号", width = 15)
    @ApiModelProperty(value = "产品型号")
    private String businessId;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private String spuName;
	/**isDeleted*/
	@Excel(name = "isDeleted", width = 15)
    @ApiModelProperty(value = "isDeleted")
    private Integer isDeleted;
	/**收藏时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "收藏时间")
    private Date createTime;
	/**收藏人*/
    @ApiModelProperty(value = "收藏人")
    private String createBy;
	/**createId*/
	@Excel(name = "createId", width = 15)
    @ApiModelProperty(value = "createId")
    private String createId;

    @TableField(exist = false)
    private String imageUrl;
    @TableField(exist = false)
    private String name;
}
